<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
        <%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title><s:text name='myCollection'/> </title>
<link rel="stylesheet" href="view/question/css/global.css" type="text/css" media="screen">
<link rel="stylesheet" href="view/question/css/collection-style.css" type="text/css" media="screen">
<link rel="stylesheet" href="view/question/js/pagination/pagination.css" type="text/css" media="screen">
<link rel="stylesheet" href="js/thickbox/thickbox.css" media="screen"  type="text/css" />
<script type="text/javascript" src="view/question/js/jquery-1.8.3.js"></script>
<script type="text/javascript" src="view/question/js/pagination/jquery.pagination.js"></script>
<script type="text/javascript" src="view/question/myjs/nation.jsp"></script> 
<script type="text/javascript" src="daoepingjs/script_common.js"></script> 
<script type="text/javascript" src="view/question/myjs/question.js"></script> 
<script type="text/javascript" src="js/thickbox/thickbox-compressed.js" ></script>

</head>

<script type="text/javascript"  language="javascript">

$(document).ready(function() {
	/* selectData("fri-dir-list","fri-dir-list","findBzn_questionfrigroupList","" );
	selectData("fri-dir-sel","fri-dir-sel","findBzn_questionfrigroupList","" );
	//findQuestionByfrigroup("");   
	notfriGroup();*/

}); 

</script>
<body>


<div id="fri-dir-messagebox" style="display:none">
<form >
<p><s:text name="directory"/><input type="text" name="bzn_questionfrigroup.name"  id = "fri_name"/></p>
<p><s:text name="description"/><input type="text" name="bzn_questionfrigroup.description" id = "fri_desc"/></p>
<input type="button" value="<s:text name='submit'/>"  id = "button_frigroup" />

<input type = "hidden" id = "frigroup_id"/>
</form>


</div>
<div class="navigation-bar">
	<div class="personal">
	 <a href="#"><img src="view/question/image/p1.gif" alt="" /><s:text name='manManLi'/></a>
	 <a href="#"><s:text name='myDaoEPing'/></a>
	 <a href="#"><s:text name='myCenter'/></a>
	 <br/>
	 <span ><s:text name='theTestArchitect'/></span>
	 <span ><s:text name='shangHai'/></span>
	</div>
	<div class="clear"></div>
</div>
<div class = "body-content">
 <div class="bar">
 <h3> <s:text name='questionCollection'/> </h3>
 <div class="list" id="fri-dir-list">
   <ul>
				<li>	<a href="#" class="group">
						<s:text name='allCollection'/>
				</a>   
				<li>
				<li>	<a href="#" class="group">
						<s:text name='directoryOne'/>
				</a>   
				<li>
				<li>	<a href="#" class="group">
						<s:text name='directoryTwo'/>
				</a>   
				<li>
				<li>	<a href="#" class="group">
						<s:text name='notGroupDirectory'/>
				</a>   
				<li>

   </ul>
 
<div class="clear"></div>
 </div>
  <a href="#TB_inline?height=100&width=300&inlineId=fri-dir-messagebox"   title="Directory" class="thickbox" type="button" onclick="setfriGroup('add')"> <s:text name='createDirectory'/> </a>
 </div>
 <div class="management">
  <div class="top-info">
 
  <h4><label id="label_fri_name" ></label></h4>
   <span><label id="label_fri_desc" ></label></span>
    <a href="#TB_inline?height=100&width=300&inlineId=fri-dir-messagebox"   title="Directory" class="thickbox" type="button" onclick="setfriGroup('edit')"> <s:text name='editDescription'/> </a>
    <a href="#TB_inline?height=100&width=300&inlineId=fri-dir-messagebox"   title="Directory" class="thickbox" type="button" onclick="setfriGroup('edit')"> <s:text name='editDirectory'/> </a>	
	
	 <input class="remove" type="button" value="<s:text name='deleteDirectory'/>" onclick = "delfrigroup()"/>	
  </div>
  <div>
        <select name="move" id="fri-dir-sel" onchange="movefri()">
		<option><s:text name='addToDirectory'/></option>
		<option><s:text name='directoryOne'/></option>
		<option><s:text name='directoryTwo'/></option>
		</select>
		 <input class="cancel" type="button" value="<s:text name='cancelCollection'/>" onclick = "delfri()"/>	
		  <a href="view/question/viewUser.jsp"><s:text name='addFriend'/></a>
  		<table>
			 <thead>
									<tr>
								      <th><input id="check_all"  class="check-all" type="checkbox" onclick="tickAll('checkbox_fri')"/></th>
									   <th><s:text name='title'/></th>
									   <th><s:text name='author'/></th>
									   <th><s:text name='field'/></th>
									   <th><s:text name='date'/></th>
									   <th><s:text name='cancelCollection'/></th>
									  <%--  <th><s:text name='concern'/></th> --%>
									</tr>
	
			 </thead>
	
			 <tbody id ="question-list">
			    <tr>
									<td><input type="checkbox" /></td>
									<td><a href="#" title="title">How do you think about QieGao weight?</a></td>
									<td><a href="#" title="title"><s:text name='manManLi' /></a></td>
									<td><s:text name='securityTest'/></td>
									<td>2012-12-22</td>
									<td><a href="#" title="Edit"><img src="#" alt="Edit" /></a></td>
									<td><a href="#" title="Edit Meta"><img src="#" alt="Edit Meta" /></a></td>
			    </tr>
				  <tr>
									<td><input type="checkbox" /></td>
									<td><a href="#" title="title">How do you think about QieGao weight?</a></td>
									<td><a href="#" title="title"><s:text name='manManLi' /></a></td>
									<td><s:text name='securityTest'/></td>
									<td>2012-12-22</td>
									<td><a href="#" title="Edit"><img src="#" alt="Edit" /></a></td>
									<td><a href="#" title="Edit Meta"><img src="#" alt="Edit Meta" /></a></td>
			    </tr>
			    
			    
			   
			</tbody>
					 <tfoot>
								<tr>
								<td colspan="6">
								<%-- <div class="pagination">
											<a href="#" title="First Page">&laquo; <s:text name='firstPage'/></a>
											<a href="#" title="Previous Page">&laquo; <s:text name='previousPage'/></a>
											<a href="#" class="number" title="1">1</a>
											<a href="#" class="number" title="2">2</a>
											<a href="#" class="number current" title="3">3</a>
											<a href="#" class="number" title="4">4</a>
											<a href="#" title="Next Page"><s:text name='nextPage'/> &raquo;</a><a href="#" title="Last Page"><s:text name='lastPage'/> &raquo;</a>
							    </div> <!-- End .pagination --> --%>
							     <div id="Pagination" class="flickr" style="dispaly:none"></div>
								</td>
								</tr>
			 </tfoot>					
	  </table>
								
  </div>
 
 </div>
</div>

</body>

</html>
